package codegen;

public class SimpleTypeDescr extends AbstractDescr {

    private static final long serialVersionUID = 1L;
    String name;

    public SimpleTypeDescr(String name) {
        super(1);
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void print() {
        trace("SimpleTypeDescr: " + name + " size: " + size);
        unindent();
    }
    
    @Override
    public String toString() {
        return name + super.toString();
    }
}
